import React from 'react';
import queryString from 'query-string'

import { getMusicHttp } from '../../model'

const getHttp = async (id) => {
    let res = await getMusicHttp.getMusicDetailHttp(id)
    console.log(res);
}

const Index = () => {
    React.useEffect(() => {
        let { id } = queryString.parse(window.location.search)
        getHttp(id)
    }, [])
    return (
        <div>

        </div>
    );
}

export default Index;
